# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>

pkgname=cockpit-machines
pkgver=302
pkgrel=1
pkgdesc='Cockpit UI for virtual machines'
arch=('loong64' 'x86_64')
url='https://github.com/cockpit-project/cockpit-machines'
license=(LGPL)
depends=(cockpit libvirt-dbus)
optdepends=("virt-install: create new virtual machines")
source=("https://github.com/cockpit-project/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz")
sha256sums=('229c6de18df6138b1802a3770315c449f4bff835125ea90b5f049594bc5f1074')

package() {
  cd $pkgname
  make PREFIX=/usr DESTDIR="$pkgdir" install
}
